<?php
require 'Home/Controller/Controller.php ';
require 'Home/Model/IndexModel.php';
class ListController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->model = new IndexModel();
	}
	function index(){
		$id = $_GET['id'];
		//echo $id;
		//$getList = $this->model->getList();
		$getCartoonType = $this->model->getCartoonType();
		$getCartoonTypeById  = $this->model->getCartoonByid($id);
		$getCartoonByHint = $this->model->getCartoonByHint();
		$getTypeById = $this->model->getCartoonTypeByTid($id);
		
		include 'Home/View/Index/list.php';
	}
	
}
?>